<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        nav {
            width: 694px;
            height: 50px;
            margin: 0px auto;
            font-size: 0;
        }

        nav>a {
            width: 98px;
            height: 48px;
            border: 1px solid gold;
            margin-left: -1px;
            float: left;
            color: pink;
            font-size: 16px;
            font-family: '微软雅黑';
            text-decoration: none;
            line-height: 48px;
            text-align: center;
        }

        nav>a:hover {
            background-color: gold;
            color: #fff;
        }
    </style>
</head>

<body>
    <nav>
        <a href="#">首页</a>
        <a href="#">公司简介</a>
        <a href="#">解决方案</a>
        <a href="#">公司新闻</a>
        <a href="#">行业动态</a>
        <a href="#">招贤纳才</a>
        <a href="#">联系我们</a>
    </nav>
</body>

</html>